<?php
namespace app\admin\controller;

use tool\Common;
use app\admin\logic\Index as LogicIndex;
use think\Request;

class Index extends Base
{
    //得到商家主页商品
    public function index()
    {
        $data = [
            'sellerID' => 3
        ];
        //$data = request()->post();
        $index = new LogicIndex();
        $arr = $index->init($data)->index();
        Common::json($arr);
    }
}
